<?php

namespace app\command;
use think\console\Command;
use think\console\Input;
use think\console\Output;
use app\cron\controller\Crontab;
use think\console\InputOption;
class RealProcessCommand extends Command
{
    protected function configure()
    {
        $this->setName('realProcess')
            ->setDescription('realProcess')
           ->addArgument('param1', null, 'The integer parameter');

    }

    protected function execute(Input $input, Output $output)
    {
        $param1 =$input->getArgument('param1');
        $res= (new Crontab())->real_process($param1);
    }
}